package com.lxw.DescriptPatterns.MaterialObject;import com.lxw.DescriptPatterns.BaseObject.Beverage;import com.lxw.DescriptPatterns.DescriptObject.CondimentDecorator;public class Whip extends CondimentDecorator {    Beverage beverage;    public Whip(Beverage beverage) {        this.beverage = beverage;    }    public String getDescription() {        return beverage.getDescription()+",奶泡";    }    public double cost() {        return 0.65+beverage.cost();    }}